package com.kinghunt.misp.dal.dao.userx;

import com.kinghunt.misp.dal.model.userx.UserPermissionBlacklistDO;

import java.util.List;

/**
* 用户-权限黑名单
* Created by Mybatis Generator on 2023/07/04
*/
public interface UserPermissionBlacklistDAO {
    int deleteByPrimaryKey(Long id);

    int insert(UserPermissionBlacklistDO record);

    int insertSelective(UserPermissionBlacklistDO record);

    UserPermissionBlacklistDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserPermissionBlacklistDO record);

    int updateByPrimaryKey(UserPermissionBlacklistDO record);

    List<UserPermissionBlacklistDO> selectByUserId(Long userId);

    int deleteByUserId(Long userId);

    int insertBatch(List<UserPermissionBlacklistDO> records);
}